﻿using Models;

namespace RESTfulDemo.Services {
    public interface IService {
        public Task<IEnumerable<StudentInfo>> GetStudentInfosAsync();
        public Task<StudentInfo> GetStudentInfoByIdAsync(Guid id);
        public Task AddStudentInfoAsync(StudentInfo studentInfo);
        public Task DeleteStudentInfoAsync(Guid id);
        public Task UpdateStudentInfoAsync(StudentInfo studentInfo);
        public Task<bool> StudentExistAsync(Guid id);
    }
}
